[Manager Summary]

PMGetPageRange


Reports the page numbers at which to begin and end printing.
OSStatus PMGetPageRange(PMPrintSettings printSettings, UInt32 *minPage, UInt32 *maxPage)
PARAMETERS
printSettings
A PMPrintSettings object previously created by your application for the current printing session.
minPage
A pointer to a variable which, on return, contains the number of the page at which to begin printing.
maxPage
A pointer to a variable which, on return, contains the number of the page at which to end printing.
function result
A result code. See Result Codes.
DISCUSSION
This function reports the valid range of pages to print, which your application previously set by calling PMSetPageRange. If your application hasn't set a range, then PMGetPageRange reports the default range of 1 to 9999.
CARBON PORTING NOTES
 The PMGetPageRange function replaces the Printing Manager opcode kPrinterDirectOpCode in kPDVerifySelect mode, and obtains information previously stored in the iFstPage and iLstPage fields of the Printing Manager structure TPrJob.

Last modified: 5/7/99. Status: Draft Copyright 1999 Apple Computer, Inc. All rights reserved.